<div id="control_block">
    {% if user.is_authenticated %}
    <div id="profile_subtabs" class="subtabs">
        <ul>
            <li id="my_items">
                <a href="/user/{{ user.username }}" class="{{ sub_menu.my_items }}">MY ITEMS</a>
            </li>
            <li id="profile">
                <a href="/profile" class="{{ sub_menu.profile }}">PROFILE</a>
            </li>
            <li id="notify">
                <a href="/notifications" class="{{ sub_menu.notify }}">NOTIFICATIONS</a>
            </li>
            <li id="network">
                <a href="{% url user_following request.user.username %}" class="{{ sub_menu.network }}">NETWORK</a>
            </li>
        </ul>
    </div>
    <div class="clearfix"></div>
    {% endif %}
</div>
